package com.demo.fallback;

import com.demo.feign.OrderFeignService;
import com.test.common.utils.R;
import org.springframework.stereotype.Component;


@Component
public class OrderFeignServiceFallback implements OrderFeignService {

    @Override
    public R findOrderByUserId(Integer userId) {
        return R.error(-1,"=======服务降级了========");
    }
}
